package databaseservice;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import po.*;

public interface BookPOService extends Remote {
	/**
	 * @author WangChen
	 * @since 2012.10.21
	 */
	public boolean add(BookPO o) throws RemoteException;

	public boolean delete(BookPO o)throws RemoteException;

	public boolean alter(BookPO o) throws RemoteException;
	
	public BookPO searchABook(int bookID) throws RemoteException;


	public ArrayList<BookPO> search(BookPO o)throws RemoteException;
	
	public ArrayList<BookPO> search(int type)throws RemoteException;
}
